{% extends 'AdminsBundle:base:main.0.html.twig' %}
{% block content %}
    <div class="div-content">
        <form method="get" action="{{ urls.toolUrl is defined ? urls.toolUrl : '' }}" id="form1">
            {% block actionScript %}
                <div class="aspNetHidden">
                    <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
                    <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
                </div>
                <script type="text/javascript">
                    var theForm = document.forms['form1'];
                    if (!theForm) {
                        theForm = document.form1;
                    }
                    function __doPostBack(eventTarget, eventArgument) {
                        if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
                            theForm.__EVENTTARGET.value = eventTarget;
                            theForm.__EVENTARGUMENT.value = eventArgument;
                            theForm.submit();
                        }
                    }
                </script>
            {% endblock %}
        {% block toolbar -%}
            <!--工具栏-->
            <div id="floatHead" class="toolbar-wrap">
                <div class="toolbar">
                    <div class="box-wrap">
                        <a class="menu-btn"></a>
                        <div class="l-list">
                            <ul class="icon-list">
                                <li><a class="add" href="{{ urls.addUrl is defined ? urls.addUrl : '' }}"><i></i><span>新增</span></a></li>
                                <li><a class="save" href="javascript:__doPostBack('btnSave','')" id="btnSave"><i></i><span>保存</span></a></li>
                                <li><a class="all" href="javascript:;" onclick="checkAll(this);"><i></i><span>全选</span></a></li>
                                <li><a class="del" onclick="return ExePostBack('multiDelete','是否继续？');" href="javascript:__doPostBack('multiDelete','')"><i></i><span>删除</span></a></li>
                            </ul>
                        </div>
                        {% block options %}
                        <div class="menu-list">
                            <div class="rule-single-select">
                                <select name="ddlMoveId" >
                                    <option selected="selected" value="">请选择</option>
                                    <option value="3">互联网媒体</option>
                                    <option value="6">　├ 人物动态</option>
                                </select>
                            </div>
                        </div>
                        {% endblock %}
                        <div class="r-list">
                            <input name="txtKeywords" type="text" id="txtKeywords" class="keyword" value="{{ app.request.get("txtKeywords") }}" />
                            <a id="lbtnSearch" class="btn-search" href="javascript:__doPostBack('lbtnSearch','')">查询</a>
                        </div>
                    </div>
                </div>
            </div>
            <!--/工具栏-->
        {% endblock %}
        {% block main %}
            <!--列表-->
            <div class="table-container">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
                    <tbody>
                    {% block tableHead %}
                        <tr>
                            <th width="6%">选择</th>
                            <th align="left" width="15%">目录名</th>
                            <th align="left" width="18%">标题</th>
                            <th align="left">绑定域名</th>
                            <th align="left" width="10%">排序</th>
                            <th width="8%">移动站</th>
                            <th width="8%">默认</th>
                            <th width="10%">操作</th>
                        </tr>
                    {% endblock %}
                    {% block tableList %}
                        <tr>
                            <td align="center">
                                <span class="checkall" style="vertical-align:middle;"><input id="rptList_chkId_0" type="checkbox" name="rptList$ctl01$chkId"></span>
                                <input type="hidden" name="rptList$ctl01$hidId" id="rptList_hidId_0" value="4">
                            </td>
                            <td>
                                <div class="btn-tools">
                                    <a id="rptList1_lbtnIsMsg_9" title="取消评论" class="msg selected" href="javascript:__doPostBack('','')"></a>
                                    <a id="rptList1_lbtnIsTop_9" title="设置置顶" class="top" href="javascript:__doPostBack('','')"></a>
                                    <a id="rptList1_lbtnIsRed_9" title="取消推荐" class="red selected" href="javascript:__doPostBack('','')"></a>
                                    <a id="rptList1_lbtnIsHot_9" title="设置热门" class="hot" href="javascript:__doPostBack('','')"></a>
                                    <a id="rptList1_lbtnIsSlide_9" title="设置幻灯片" class="pic" href="javascript:__doPostBack('','')"></a>
                                </div>
                            </td>
                            <td>
                                <span class="folder-open"></span>
                                <a href="">互联网媒体</a>
                            </td>
                            <td>-</td>
                            <td><input name="rptList$ctl01$txtSortId" type="text" value="99" id="rptList_txtSortId_0" class="sort" onkeydown="return checkNumber(event);"></td>
                            <td align="center">×</td>
                            <td align="center">√</td>
                            <td align="center"><a href="#">修改</a></td>
                        </tr>
                        <tr>
                            <td align="center">
                                <span class="checkall" style="vertical-align:middle;"><input id="rptList_chkId_1" type="checkbox" name="rptList$ctl02$chkId"></span>
                                <input type="hidden" name="rptList$ctl02$hidId" id="rptList_hidId_1" value="5">
                            </td>
                            <td>
                                <div class="user-box">
                                    <h4><b>aaa2222</b> (昵称：)</h4>
                                    <i>注册时间：2016-1-12 23:15</i>
                                    <span>
                                      <a class="amount" href="" title="消费记录">余额</a>
                                      <a class="card" href="" title="充值记录">充值</a>
                                      <a class="point" href="" title="积分记录">积分</a>
                                      <a class="msg" href="" title="消息记录">短消息</a>
                                      <a class="sms" href="javascript:;" onclick="PostSMS('13912345600');" title="发送手机短信通知">短信通知</a>
                                    </span>
                                </div>
                            </td>
                            <td>
                                <span class="folder-line"></span>
                                <span class="folder-open"></span>
                                <a href="">人物动态</a>
                            </td>
                            <td>
                                <a href="">
                                    <b class="user-avatar"></b>
                                </a>
                            </td>
                            <td></td>
                            <td align="center"></td>
                            <td align="center"></td>
                            <td align="center"><a href="/">修改</a></td>
                        </tr>
                    {% endblock %}

                    </tbody></table>
            </div>
            <!--/列表-->
        {% endblock %}
        {% block page %}
            <!--内容底部-->
            <div class="line20"></div>
            <div class="pagelist">
                <div class="l-btns">
                    <span>显示</span>
                    {{ page.perPage }}
                    <span>条/页</span>
                </div>
                <div id="PageContent" class="default">
                    <span>共
                        {{ page.total  }}记录
                    </span>
                    {{ page.page  | raw  }}
                </div>
            </div>
            <!--/内容底部-->
        {% endblock %}
        </form>
    </div>

    {% block submit %}
    {% endblock %}
    {% block script %}
    {% endblock %}
{% endblock %}